/* CSS变量定义 */
:root {
  /* 默认主题变量 */
  --primary-color: #374151;
  --primary-hover: #1f2937;
  --background-color: #ffffff;
  --surface-color: #f8f9fa;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --button-secondary-bg: #f3f4f6;
  --button-secondary-hover: #e5e7eb;
  
  /* 番茄钟主题变量 */
  --pomodoro-task-bg: linear-gradient(135deg, #f8f9fa 0%, #e5e7eb 100%);
  --pomodoro-free-bg: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

#app {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  height: 100%;
  background-color: var(--surface-color);
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 按钮基础样式重置 */
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

/* 输入框基础样式重置 */
input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* 无边框窗口样式 */
.frameless-window {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}